package com.sky.mapper;

import com.sky.vo.HistoryTodayVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface HistoryTodayMapper {
    /**
     * 保存
     * @param historyTodayVO
     */
    void insert(HistoryTodayVO historyTodayVO);

    /**
     * 获取
     * @param date
     * @return
     */
    @Select("select * from history_today where date = #{date}")
    HistoryTodayVO getHistoryData(String date);
}
